home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C# & Game Programming - A…er's Guide (2nd Edition)
/
Buono 2nd Ed.iso
/
GameClasses
/
Player.cs
< prev
next >
Wrap
Text File
|
2004-09-07
|
509b
|
19 lines
/* Player.cs: Sub-class of AnimatedImage. Responsible for managing all
* things player-related. Luckily most of the functions are ok in their
* base form, so only member data additions such as score and death
* counts are needed.
*/
using System;
namespace GameClasses {
public class Player : AnimatedImage {
public int score;
public int deaths;
public Player() : base() {}
public Player(int posX, int posY) : base(posX, posY) {
}
}
}